<?php

/**
 * Class IndexController
 */
class IndexController extends BaseController
{
    /**
    --------------------------------------注册登录-------------------------------------
     */

    /**
     * 登录
     */
    public function Login(){

        return $this->view('index.login');
    }

    /**
     * 登录验证
     * @return mixed
     */
    public function VerifyLogin()
    {
		if(!session_get(UserEnum::USER_INFO_USER_ID)){
            if (Request::isMethod('POST')) {
                #接受参数
                $paramObj                   =          new stdClass();
                $paramObj->username         =          $this->getParam('username');        //用户名或手机号
                $paramObj->password         =          $this->getParam('password');         //密码
                $paramObj->remember         =          $this->getParam('remember');         //记住用户名

                #逻辑处理
                try{
                    IndexService::instance()->VerifyLogin($paramObj);
                    if(!empty( $paramObj->remember)){
                        setcookie('name',$paramObj->username,time()+604800);
                    }
                    return Redirect::to('/');
                }catch (Exception $e){
                    print $e->getMessage();
                }
            }
        }else{
            return Redirect::to('/');
        }

    }

    /**
     * js登陆验证
     * @return mixed
     */
    public function JsVerifyLogin()
    {

        if (Request::isMethod('POST'))
        {
            #接收参数
            $paramObj = new stdClass();
            $paramObj->username     =   $this->getParam('username');                 //用户名
            $paramObj->pwd          =   $this->getParam('pwd');                      //密码


            #逻辑处理
            if(!empty($paramObj->username)&&empty($paramObj->pwd))
            {
                $data = IndexService::instance()->JsCheckUser($paramObj);
                $rs = empty($data)?0:1;
                return $rs;
            }

            if(!empty($paramObj->pwd))
            {
                $info = IndexService::instance()->JsCheckUser($paramObj);
                $data = IndexService::instance()->JsCheckPwd($paramObj);
                $data2 = IndexService::instance()->LoginTime($info->user_name,$info->mobile);
                if(empty($data2->locktime)){
                    $time = 0;

                }else{
                    $time= $data2->locktime-time();
                }
                if($time<=0){
                    if(empty($data)){
                        if(empty($data2)){
                            $aData=[
                                'user_name' =>  $info->user_name,
                                'mobile'    =>  $info->mobile,
                                'count'     =>  1,
                            ];
                            IndexService::instance()->LoginCount($aData);
                            return 0;
                        }else{
                            if($data2->count==3){
                                $aData=[
                                    'user_name' =>  $data2->user_name,
                                    'mobile'    =>  $data2->mobile,
                                    'count'     =>  $data2->count+1,
                                    'locktime'  =>  time()+600,
                                ];
                                IndexService::instance()->LoginCountA($aData);
                                return 2;
                            }else{
                                $aData=[
                                    'user_name' =>  $data2->user_name,
                                    'mobile'    =>  $data2->mobile,
                                    'count'     =>  $data2->count+1,
                                ];
                                IndexService::instance()->LoginCountA($aData);
                                return 0;
                            }
                        }
                    }else{
                        if(!empty($data2->user_name)){
                            IndexService::instance()->LoginCountDel($data2->user_name);
                            return 1;
                        }else{
                            return 1;
                        }

                    }
                }else{
                    return 2;
                }
            }

        }
    }

    /**
     * 退出登录
     * @return mixed
     */
    public function LoginOut()
    {
        try{
            #清空SESSION
            Session::flush();
            return Redirect::to('/');
        }catch(Exception $e){
            $this->rest->error($e->getMessage(), $e->getCode());
        }
    }

    /**
     * 注册
     */
    public function Register(){

        $id =  $this->getParam('id');
        if(!empty($id)){
            $id =  UserService::instance()->UserInvitess($id);
            return $this->view('index.register')->with('id',$id);
        }else{
            return $this->view('index.register');
        }

    }

    /**
     * 注册验证
     * @return mixed
     */
    public function VerifyRegister()
    {

        if (Request::isMethod('POST')) {
            #接收参数
            $paramObj = new stdClass();
            $paramObj->user_name          =       $this->getParam('user_name');                 //用户名
            $paramObj->pwd                =       $this->getParam('pwd');                       //密码
            $paramObj->confirm_pwd        =       $this->getParam('confirm_pwd');               //确认密码
            $paramObj->mobile             =       $this->getParam('mobile');                    //联系方式
            $paramObj->captcha            =       $this->getParam('captcha');                   //验证码
            $paramObj->news_captcha       =       $this->getParam('news_captcha');              //短信验证码
            $paramObj->invite_mobile      =       $this->getParam('invite_mobile');             //邀请人手机号
            $paramObj->invite_id          =       $this->getParam('invite_id');                 //邀请人id
            $paramObj->avatar             =       $this->getParam('avatar');                    //默认头像
            $paramObj->created            =       time();                                       //注册时间


            #逻辑处理
            try{
                IndexService::instance()->VerifyRegister($paramObj);
                return Redirect::to('/register_success');
            }catch(Exception $e){
                print_R($e->getMessage());
                //$this->rest->error($e->getMessage(), $e->getCode());
            }
        }
    }

    /**
     * js注册验证
     * @return int
     */
    public function JsVerifyRegister()
    {
        if (Request::isMethod('POST')) {
            #接收参数
            $paramObj = new stdClass();
            $paramObj->username          =       $this->getParam('username');                 //用户名
            $paramObj->mobile            =       $this->getParam('mobile');                   //联系方式
            $paramObj->invite_mobile     =       $this->getParam('invite_mobile');            //邀请人电话
            $paramObj->news_captcha      =       $this->getParam('news_captcha');             //短信验证码
            $paramObj->captcha           =       $this->getParam('captcha');                  //验证码

            #逻辑处理
            if(!empty($paramObj->captcha))
            {
                $data = IndexService::instance()->JsCheckCaptcha($paramObj);
                return $data;
            }
            if(!empty($paramObj->news_captcha))
            {
                $data = IndexService::instance()->JsCheckNews($paramObj);
                return $data;
            }
            if(!empty($paramObj->username))
            {
                $data = IndexService::instance()->JsCheckUserName($paramObj);
                $rs = empty($data)?0:1;
                return $rs;
            }
            if(!empty($paramObj->mobile))
            {
                $data = IndexService::instance()->JsCheckMobile($paramObj);
                $rs = empty($data)?0:1;
                return $rs;
            }
            if(!empty($paramObj->invite_mobile))
            {
                $data = IndexService::instance()->JsCheckInvite($paramObj);
                $rs = empty($data)?0:1;
                return $rs;
            }

        }
    }

    /**
     * 短信验证
     * @return string
     */
    public function VerifyNews()
    {
        if(Request::isMethod('POST')){
            #接收参数
            $paramObj = new stdClass();
            $paramObj->mobile            =       $this->getParam('mobile');                  //联系方式

            if(!empty($paramObj->mobile))
            {
                $data = IndexService::instance()->VerifyNews($paramObj);
                return $data;
            }
        }
    }

    /**
     * 生成验证码
     */
    public function Captcha()
    {
        CaptchaService::instance()->create();
    }

    /**
     * 注册成功跳转
     * @return mixed
     */
    public function RegisterSuccess()
    {
        return $this->view('index.register_success');
    }

    /**
     * 找回密码
     * @return mixed
     */
    public function UserRetrievePwdOne()
    {
        return $this->view('index.user_retrieve_pwd_one');
    }

    /**
     * 忘记密码手机验证
     */
    public function JsVerifyUserMobile()
    {
        if(Request::isMethod('POST')){
            #接收参数
            $paramObj = new stdClass();
            $paramObj->mobile             =       $this->getParam('mobile');                 //电话
            $paramObj->captcha            =       $this->getParam('captcha');                //验证码


            if(!empty($paramObj->captcha))
            {
                $data = IndexService::instance()->JsVerifyUserCaptcha($paramObj);
                if($data == 2){
                    return $data;
                }else if(!empty($paramObj->mobile)){
                    $data2 = IndexService::instance()->JsVerifyUserMobile($paramObj);
                    $rs = empty($data2)?0:1;
                    return $rs;
                }
            }
        }
    }

    /**
     * 忘记密码手机验证
     * @return mixed
     */
    public function VerifyUserMobile()
    {
        header("content-type:text/html;charset=utf8");
        if(Request::isMethod('POST')){
            #接收参数
            $paramObj = new stdClass();
            $paramObj->mobile       = $this->getParam('mobile');                 //电话
            $paramObj->captcha      = $this->getParam('captcha');                //验证码

                $rs = IndexService::instance()->VerifyUserMobile($paramObj);
                if($rs){
                    $data = IndexService::instance()->VerifyNews($paramObj);
                    if($data==10000){
                        echo "<script>alert('验证码发送成功,10分钟内输入有效');location.href='/user_retrieve_pwd_two';</script>";
                    }else if($data==160040){
                        echo "<script>alert('您当日验证码发送次数过多');location.href='/user_retrieve_pwd_one';</script>";
                    }
                }

        }
    }
    public function UserRetrievePwdTwo()
    {
        return $this->view('index.user_retrieve_pwd_two');
    }

    /**
     * 忘记密码js短信验证
     * @return int
     */
    public function JsVerifyUserNews()
    {
        if(Request::isMethod('POST')){
            #接收参数
            $paramObj = new stdClass();
            $paramObj->news_captcha            =       $this->getParam('news_captcha');              //短信验证

            if(!empty($paramObj->news_captcha))
            {
                $data = IndexService::instance()->JsVerifyUserNews($paramObj);
                return $data;
            }
        }
    }


    public function UserRetrievePwdThr()
    {
        return $this->view('index.user_retrieve_pwd_thr');
    }

    /**
     * 重置密码
     * @return string
     */
    public function UserSetPwd()
    {
        if(Request::isMethod('POST')){
            #接收参数
            $paramObj = new stdClass();
            $paramObj->new_pwd            =       $this->getParam('new_pwd');              //新密码

            if(!empty($paramObj->new_pwd))
            {
               $data = IndexService::instance()->UserSetPwd($paramObj);
                if($data)
                return Redirect::to('/user_retrieve_pwd_fou');
                else
                    return '修改失败';
            }
        }
    }
    //重置密码
    public function VerifySetPwd()
    {
        if(Request::isMethod('POST')){
            #接收参数
            $paramObj = new stdClass();
            $paramObj->new_pwd            =       $this->getParam('new_pwd');              //新密码

            #逻辑处理
            $data = IndexService::instance()->VerifySetPwd($paramObj);
            $rs = empty($data)?0:1;
            return $rs;

        }
    }

    public function UserRetrievePwdFou()
    {
        return $this->view('index.user_retrieve_pwd_fou');
    }


    /**
    --------------------------------------注册登录结束-------------------------------------
     */

    public function index()
    {
        //获取央票通列表
        $ypt_info = IndexService::instance()->YptProjectList();
       // print_r($ypt_info);
        //获取上市通列表
        $sst_info = IndexService::instance()->SstProjectlist();
        //获取新闻列表
        $news_info = IndexService::instance()->NewsIndexList();
        //公告列表
        $announcement = IndexService::instance()->AnnouncementList();
        $num_project = IndexService::instance()->ProjectNum();//贴现项目总数
        $all_project_scale = IndexService::instance()->ProjectScale(); //项目总额度
        $all_invest_record = IndexService::instance()->AllInvestRecord();  //投资人总收益
        $all_invest_num = IndexService::instance()->AllInvestNum(); //成交笔数
        $index_all = array('num_project'=>$num_project,'all_project_scale'=>$all_project_scale,'all_invest_record'=>$all_invest_record,'all_invest_num'=>$all_invest_num,);
        return $this->view('index.index')->with(['ypt'=>$ypt_info,'sst'=>$sst_info,'news'=>$news_info,'announcement'=>$announcement,'index_all'=>$index_all]);
    }


    /**
     * ypt,sst详情
     * $type ypt 1 sst 2
     */
    public function Project(){
        $project_id = $this->getParam('project_id');
        $type       = $this->getParam('type');
        //获取央票通列表
        $info = IndexService::instance()->YptProjectList($project_id);
        // print_r($info );
        //获取企业信息
        $page_all = IndexService::instance()->InvestRecordListPage($project_id,1);
        //获取有效现金券
        $UserExt            = IndexService::instance()->UserExtendone();
        //print_r( $UserExt);
        $vouchersta    = UserService::instance()->vouchersta();//现金卷是否过期，修改staue状态
        $experiencesum  = UserService::instance()->vouchersum();//体验金查看没有过期的总数
        //print_r($experiencesum);
        if($type==1){
            return $this->view('index.project_details_ypt')->with(['ypt'=>$info,'page_all'=>$page_all,'project_id'=>$project_id,'type'=>$type,'experiencesum'=>$experiencesum,'UserExt'=>$UserExt]);
        }else{
            return $this->view('index.project_details_sst')->with(['sst'=>$info,'UserExt'=>$UserExt,'project_id'=>$project_id,'type'=>$type,'experiencesum'=>$experiencesum]);
        }

    }


    /**
     * ajax分页
     */
    public function InvestList(){
        $project_id = $this->getParam('project_id');
        $page = $this->getParam('page');
        $pagelist = IndexService::instance()->InvestRecordListPage($project_id,$page);
        return $this->rest->success(['state' => $pagelist ]);
    }




    /**
     * 贴现流程
     * @return mixed
     */
    public function TopFlow()
    {
        return $this->view('index.top_flow');
    }

    public function  YptShopIndex()
    {
        return $this->view('index.ypt_shop_index');
    }

    /**
     * 出票央企
     * @return mixed
     */
    public function TopEnterYpt()
    {
        $info = IndexService::instance()->TopEnterYpt();
        return $this->view('index.top_enterprises_ypt')->with('info',$info);
    }

    /**
     * 上市通
     * @return mixed
     */
    public function TopEnterSst()
    {
        $info = IndexService::instance()->TopEnterSst();
        return $this->view('index.top_enterprises_sst')->with('info',$info);
    }

    /**
     * 央票通文章页
     * @return mixed
     */
    public function YTopEnterArticle()
    {

        $company_id = $this->getParam('company_id');
        $info = IndexService::instance()->TopEnterArticle($company_id);
        return $this->view('index.top_enterprises_article_y')->with('info',$info);
    }


    /**
     * 央票通文章页
     * @return mixed
     */
    public function STopEnterArticle()
    {

        $company_id = $this->getParam('company_id');
        $info = IndexService::instance()->TopEnterArticle($company_id);
        return $this->view('index.top_enterprises_article_s')->with('info',$info);
    }


    /**
     *票据理财央票通
     * @return mixed
     */
    public function ProjectListYpt()
    {
        $ypt_info = IndexService::instance()->YptProjectInfo();
        return $this->view('index.project_list_ypt')->with(['ypt_info'=>$ypt_info]);
    }

    /**
     * 票据理财上市通
     * @return mixed
     */
    public function ProjectListSst()
    {

        $sst_info = IndexService::instance()->SstProjectInfo();
        return $this->view('index.project_list_sst')->with(['sst_info'=>$sst_info]);
    }

    /**
     * 立即投资支付密码页面
     *  2016.05.20
     */
    public function ProjectPay()
    {
        if(Request::isMethod('POST')){
        $user_balance       =   $this->getParam('user_balance');
        $money              =   $this->getParam('money');
        $project_id         =   $this->getParam('project_id');
        $type               =   $this->getParam('type');
        if (empty($user_balance)||empty($money)){
            $mess['code']   = '2';
            $mess['mess']   = '参数错误！！!';
             return $mess;
        }else{
            $mess['code'] = '1';
            $project_id     =$project_id;
            $type           =$type;
            $user_balance   =UserService::instance()->UserMoneyjiami($user_balance);
            $money          =$money;
            $mess['url']    = "/project_pay?project_id=$project_id&type=$type&prtype=$money";
            return $mess;
        }
     }else{
        $withdraw               = UserService::instance()->voucher();//现金劵
        $project_id             =$this->getParam('project_id');
        $money                  =$this->getParam('prtype');
        $type                   = $this->getParam('type');
        $info = IndexService::instance()->YptProjectList($project_id); //获取央票通列表
        return $this->view('index.project_pay')->with(['info'=>$info,'money'=>$money,'withdraw'=>$withdraw,'project_id'=>$project_id,'type'=>$type]);
     }
     
    }

    /**
     * 立即投资支付密码页面上市通
     *  2016.05.20
     */
    public function ProjectPaysst()
    {
        if(Request::isMethod('POST')){
            $user_balance       =   $this->getParam('user_balance');
            $money              =   $this->getParam('money');
            $project_id         =   $this->getParam('project_id');
            $type               =   $this->getParam('type');
            if (empty($user_balance)||empty($money)){
                $mess['code']   = '2';
                $mess['mess']   = '参数错误！！!';
                return $mess;
            }else{
                $mess['code'] = '1';
                $project_id     =$project_id;
                $type           =$type;
                $user_balance   =UserService::instance()->UserMoneyjiami($user_balance);
                $money          =$money;
                $mess['url']    = "/project_paysst?project_id=$project_id&type=$type&prtype=$money";
                return $mess;
            }
        }else{
            $withdraw               = UserService::instance()->voucher();//现金劵
            $project_id             = $this->getParam('project_id');
            $money                  = $this->getParam('prtype');
            $type                   = $this->getParam('type');
            $info = IndexService::instance()->SSTProjectpay($project_id); //获取央票通列表
            return $this->view('index.project_pay')->with(['info'=>$info,'money'=>$money,'withdraw'=>$withdraw,'project_id'=>$project_id,'type'=>$type]);
        }

    }

    /**
     * 支付密码提交动作
     *  2016.05.20
     */
    public function AjaxProjectPay()
    {
        if(Request::isMethod('POST')){
            #接收参数
            if(!get_magic_quotes_gpc()){//放sql
                $paramObj = new stdClass();
                $paramObj->select       =addslashes($this->getParam('select'));
                $paramObj->pwd          =addslashes($this->getParam('pwd'));
                $paramObj->moneys       =addslashes($this->getParam('money'));
                $paramObj->type         =addslashes($this->getParam('type'));
                $paramObj->project_id   =addslashes($this->getParam('project_id'));
                $paramObj->project_name =addslashes($this->getParam('project_name'));
                $paramObj->yield_rate   =addslashes($this->getParam('yield_rate'));
                $paramObj->limit        =addslashes($this->getParam('limit'));
                $paramObj->Pay_types    =addslashes($this->getParam('Pay_types'));
                $paramObj->partner_id   =addslashes($this->getParam('partner_id'));
                $paramObj->company_name =addslashes($this->getParam('company_name'));

            }else{
                $paramObj = new stdClass();
                $paramObj->select       =$this->getParam('select');
                $paramObj->pwd          =$this->getParam('pwd');
                $paramObj->moneys       =$this->getParam('money');
                $paramObj->type         =$this->getParam('type');
                $paramObj->project_id   =$this->getParam('project_id');
                $paramObj->project_name =$this->getParam('project_name');
                $paramObj->yield_rate   =$this->getParam('yield_rate');
                $paramObj->limit        =$this->getParam('limit');
                $paramObj->Pay_types    =$this->getParam('Pay_types');
                $paramObj->partner_id   =$this->getParam('partner_id');
                $paramObj->company_name =$this->getParam('company_name');

            }
            $info = IndexService::instance()->AjaxProjectPay($paramObj);
            // print_r($info );
            return $info;
        }


    }

    /**
     * 体验标
     */
    public  function  ProjectDeEexperience(){
        $page = $this->getParam('page');
        if(empty($page)){
           $page = '';
        }else{
            $page = $page-1;
        }
        $user_id = session_get(UserEnum::USER_INFO_USER_ID);
        //print_r($user_id);
        $experiencenot  = UserService::instance()->experiencenot();//查看没有过期的总数
        $info = IndexService::instance()->ExperRecord();
        //$count = IndexService::instance()->ExperRecordAll();
        //print_r($experiencenot);
        //$experiencesum  = UserService::instance()->experiencesum();//查看收益
        return $this->view('index.project_details_experience')->with(['usersid'=>$user_id,'experiencenot'=>$experiencenot,'info'=>$info,'page'=>$page]);
    }
    /**
     * 体验标支付动作
     */
    public  function  AjaxSubmitExperience(){
        //post提交
        if(Request::isMethod('POST')){
            $paramObj = new stdClass();
            $paramObj->yersl        =$this->getParam('yersl');
            $paramObj->t_id         =$this->getParam('t_id');
            $paramObj->nums         =$this->getParam('nums');
            $paramObj->experience   =$this->getParam('experience');
            $info = IndexService::instance()->AjaxSubmitExperient($paramObj);
            return $info;
        }
    }


    public function UserMoneyInstant()
    {
        return $this->view('index.user_money_instant');
    }
    /**
     * 体验金支付成功页面
     */
    public function ProjectExperSuccess()
    {
        return $this->view('index.project_exper_success');
    }
    /**
     * 持票融资
     */
    public function Financing(){
        return $this->view('index.financing');
    }

    /**
     *商票上传
     */
    public function UploadImg()
    {

        if(Request::isMethod('POST')){
            #接收参数
            $paramObj = new stdClass();
            $paramObj->front            =       $this->getParam('front');              //商票正面
            $paramObj->behind           =       $this->getParam('behind');             //商票背面

            #逻辑处理

            $data = IndexService::instance()->UploadImg($paramObj);
            if($data){
                echo "<script>alert('上传成功');location.href='/';</script>";
            }

        }

    }

    /**
     * 关于我们
     */
    public function AboutIntro(){
        return $this->view('index.aboutus_introduction');
    }

    /**
     * 关于我们-发展历程
     */
    public function AboutHistory(){
        return $this->view('index.aboutus_history');
    }

    /**
     * 关于我们-团队介绍
     */
    public function AboutTeam(){
        $info = IndexService::instance()->AboutTeam();
        return $this->view('index.aboutus_team')->with('info',$info);
    }

    /**
     * 关于我们-合作伙伴
     */
    public function AboutPartner(){
        $info = IndexService::instance()->AboutPartner();
        return $this->view('index.aboutus_partner')->with('info',$info);
    }

    /**
     * 关于我们-资讯中心
     */
    public function AboutInfo(){
        $info1 = IndexService::instance()->AboutInfo1(1);
        $info2 = IndexService::instance()->AboutInfo2(1);
        $info3 = IndexService::instance()->AboutInfo3(1);
        return $this->view('index.aboutus_information')->with(['info1'=>$info1,'info2'=>$info2,'info3'=>$info3]);
    }

    /**
     * 行业资讯分页
     */
    public function AboutInfoPage1()
    {
        $page = $this->getParam('page');
        $pagelist = IndexService::instance()->AboutInfo1($page);
        return $this->rest->success(['state' => $pagelist ]);
    }

    /**
     * 平台新闻
     */
    public function AboutInfoPage2()
    {
        $page = $this->getParam('page');
        $pagelist = IndexService::instance()->AboutInfo2($page);
        return $this->rest->success(['state' => $pagelist ]);
    }

    /**
     * 媒体报道
     */
    public function AboutInfoPage3()
    {
        $page = $this->getParam('page');
        $pagelist = IndexService::instance()->AboutInfo3($page);
        return $this->rest->success(['state' => $pagelist ]);
    }

    /**
     * 资讯中心内容
     * @return mixed
     */
    public function AboutInfoContent()
    {
        $news_id = $this->getParam('news_id');
        $info = IndexService::instance()->AboutInfoContent($news_id);
        return $this->view('index.aboutus_information_content')->with('info',$info);
    }
    /**
     * 关于我们-加入我们
     */
    public function AboutJoinUs(){
        return $this->view('index.aboutus_joinus');
    }

    /**
     * 关于我们-联系我们
     */
    public function AboutContactUs(){
        return $this->view('index.aboutus_contactus');
    }

    /**
     * 帮助中心
     */
    public function FooterHelp(){
        return $this->view('index.footer_help');
    }

    /**
     * 安全保障
     */
    public function FooterInsurance(){
        return $this->view('index.footer_insurance');
    }

    /**
     * 投资建议
     */
    public function FooterProposals(){
        return $this->view('index.footer_proposals');
    }

    public function ProjectSuccess()
    {
        return $this->view('index.project_success');
    }

    public function RegisterArticle()
    {
        return $this->view('index.register_article');
    }

    public function FooterHelp_(){
        return $this->view('index.footer_help_');
    }
    public function FooterHelp__(){
        return $this->view('index.footer_help__');
    }
    public function FooterHelp___(){
        return $this->view('index.footer_help___');
    }
    public function FooterInsurance_(){
        return $this->view('index.footer_insurance_');
    }
    public function FooterInsurance__(){
        return $this->view('index.footer_insurance__');
    }
    public function FooterInsurance___(){
        return $this->view('index.footer_insurance___');
    }
    public function FooterProposals_(){
        return $this->view('index.footer_proposals_');
    }
    public function FooterProposals__(){
        return $this->view('index.footer_proposals__');
    }
    public function FooterProposals___(){
        return $this->view('index.footer_proposals___');
    }








    //——————————————————————————央票通商城————————————————————————


}